/**
 * 
 * @author Sunix
 * @date   2013-5-26
 * @Email  SunixSky@gmail.com
 * 
 */	
package{
	import flash.display.Sprite;
	
	import manager.ConfigManager;
	import manager.LoadManager;
	import manager.PanelManager;
	import manager.ShareDataManager;
	import manager.StageManger;
	
	import sunix.animationPlayer.AnimationPlayerManager;
	
	[SWF(width="800", height="600", backgroundColor=0xffffff, frameRate="30")]
	public class FlashRPGMaker extends Sprite{
		
		public function FlashRPGMaker(){
			init();
			run();
		}
		
		protected function init():void{
			AnimationPlayerManager.instance.init(30);
			StageManger.init(this);
			LoadManager.init();
			ShareDataManager.init();
		}
		
		protected function run():void{
			ConfigManager.loadGeneralConfig();
			ConfigManager.loadCategoryConfig();
			PanelManager.showBaseAnimationCreatePanel();
		}
	}
}